let singleton = function(){
    let privateValue = 10;
    function privateFunction(){
        return false
    };
    return {
        publicProperty: true,
        publicMethod(){
            privateValue ++;
            return privateFunction();
        }
    };
}();